Gets the current velocity and updates it to be the previous one
The direction the player has specified (e.g. arrow keys)
Is the player currently in the air? Default: false
The current velocity
See Implementation
Gets the current velocity and updates it to be the previous one